Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

docs: reduce AI-like writing in source JSDoc and library documentation#66

Merged
roottool merged 4 commits intomainfrom
docs/reduce-ai-writing-style
Mar 4, 2026
Merged

docs: reduce AI-like writing in source JSDoc and library documentation#66
roottool merged 4 commits intomainfrom
docs/reduce-ai-writing-style

Conversation

@roottool
Copy link
Copy Markdown
Owner

@roottool roottool commented Mar 4, 2026

Description

Rewrites AI-generated writing patterns across source JSDoc comments and library documentation. No functional changes.

Type of Change

  • Documentation (changes to documentation only)

Boundary Checklist

  • This is a non-implementation change (Documentation, Tooling, or CI only)

Security & API Stability

  • No security impact (forbidden keys, prototype safety unaffected)
  • No changes to public API (parse, ParseResult, ParseIssue, IssueCode)
  • No breaking changes; or justified with version bump rationale
  • Compatible with current v0.x versioning policy

Testing

  • bun run check:type:source passes
  • bun run test passes
  • bun run build passes

Changes

Source JSDoc (src/)

  • parse.ts: replaced vague "establishes a security-focused boundary" with direct description; rewrote @param list intro as "Fails completely if any entry violates the rules below — no partial success:"
  • ParseResult.ts: removed "This is a discriminated union type." (redundant with the type definition); rewrote issues: [] comment to explain why the field is kept on the success branch
  • IssueCode.ts: removed intro sentence restating what the type already expresses
  • forbiddenKeys.ts: removed redundant sentences describing what the array contains
  • createIssue.ts: reduced to /** @internal */ (one-liner internal helper needs no further documentation)

Library Documentation

Patterns removed across README.md, AGENTS.md, CONTRIBUTING.md, SECURITY.md, CLAUDE.md, skills/README.md:

  • Filler adjectives (comprehensive, robust, seamless)
  • Full-sentence bold used as emphasis (e.g. **Please read these documents carefully.**)
  • Period-terminated list introductions ("for the following.""for:")
  • Vague boundary marketing phrases ("establishes a predictable boundary", "security-focused boundary") replaced with direct descriptions
  • Redundant authoritative-reference sentences
  • Weak verb forms ("is designed to", "allows you to")

🤖 Generated with Claude Code

roottool and others added 2 commits March 5, 2026 03:00
- parse.ts: simplify description; replace vague "boundary enforcement"
  phrasing with direct "Fails completely if any entry violates the
  rules below — no partial success:"
- ParseResult.ts: remove "discriminated union type" from JSDoc;
  rewrite issues:[] comment to explain the reason for keeping it
- IssueCode.ts: remove intro sentence restating the obvious
- forbiddenKeys.ts: remove redundant sentences explaining the array
- createIssue.ts: reduce to @internal (one-liner internal helper)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove or rewrite AI-generated writing patterns across library docs:

- Filler adjectives: "comprehensive", "robust", "seamless"
- Full-sentence bold used as emphasis (e.g. "**Please read...**")
- Period-terminated list introductions ("for the following." → "for:")
- Vague boundary marketing ("establishes a predictable boundary",
  "security-focused boundary") → direct descriptions
- Redundant authoritative-reference sentences
- Weak verb forms ("is designed to", "allows you to")

Files: README.md, AGENTS.md, CONTRIBUTING.md, SECURITY.md,
       CLAUDE.md, skills/README.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@roottool roottool self-assigned this Mar 4, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a6aeda4) to head (d963b5c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #66   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           23        23           
  Branches         5         5           
=========================================
  Hits            23        23           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- README: restore `security-focused` label and move description before badges
- SECURITY: restore `**closed without action**` bold (intentional policy signal)
- CONTRIBUTING: restore opening welcome sentence

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@roottool roottool merged commit 4a62293 into main Mar 4, 2026
10 checks passed
@roottool roottool deleted the docs/reduce-ai-writing-style branch March 4, 2026 18:51
@roottool roottool added the documentation Improvements or additions to documentation label Mar 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant